<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>图片上传预览插件 v1.2</title>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Jquery图片上传预览插件" />
    <link href="http://jquery.decadework.com/css/decadework.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/uploadPreview.js" type="text/javascript"></script>
    <script>
        $(function () {
            $("#up").uploadPreview({ Img: "ImgPr", Width: 120, Height: 120 });
        });
    </script>
</head>
<body>
        <div id="main">
            <div class="card" id="up_img">
                
                <div class="summary">
                <div style=" width:120px; height:120px;">
                                <img id="ImgPr" width="120" src="images/addImage.jpg" height="120" style="display: inherit;" /></div>
                            <input type="file" id="up" style=" width:70px"/>
                </div>
            </div>
        </div>
</body>
</html>